package com.trainbook.entity.DTO;

/**
 * @Author: Dempsey
 * @Date: 2020/11/28 22:38
 * @Description:
 */

import com.trainbook.entity.DTO.middle.AddSite_Site2site;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
@ApiModel(value = "AddSiteDTO", description = "用于接收一个新的站点")
public class AddSiteDTO {

    @ApiModelProperty(value = "站点名", example = "杭州东")
    private String siteName;

    @ApiModelProperty(value = "经度", example = "120.20000")
    private Double longitude;

    @ApiModelProperty(value = "纬度", example = "30.26667")
    private Double latitude;

    // 这里可能是要后端用 fastjson 做解析的，mark 一下
    @ApiModelProperty(value = "站点联系集")
    private List<AddSite_Site2site> addSite_Site2site;

}
